package io.renren.modules.wyzs.mobile_EnumMoudle;

public enum Right {
	Read(0), Wright(1), Display(2), None(3),Allow(4),Forbid(5);

	private int value;
	private Right(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public static Right getEnumFromString(String string) {
		if (string != null) {
			return Enum.valueOf(Right.class, string.trim());
		}
		return null;
	}
}
